builddir = .
LIBS=$(APU_LIB_LD) $(APR_LIB_LD) $(APU_LIB_DEPS) $(APR_LIB_DEPS)

lib_LTLIBRARIES = libath.la

libath_la_SOURCES = \
	algorithm_safe.c \
	farm_safe.c \
	physical_safe.c \
	cookie.c \
	locks.c  \
	config.c \
	request.c \
	smartfarm.c \
	mod_athena.c

libath_la_LIBADD = $(ATH_UTIL_LIB) $(ATH_LB_LIB)
libath_la_LDFLAGS = -module -avoid-version -rpath @APACHE2_HOME@/lib

install: install-modules

install-modules: libath.la
	@APACHE2_HOME@/build/instdso.sh \
	SH_LIBTOOL=@APACHE2_HOME@/build/libtool libath.la \
	@APACHE2_HOME@/modules

